473,466 Members | 1,416 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

LINK: AutoPacker - JavaScript compression for the lazy.

This was in a 9 Rules feed that I just noticed today. Might be of some
use. Developed in PHP, but I'm sure it could easily be ported.

http://www.thepcspy.com/read/autopac...our_javascript

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Nov 20 '07 #1
3 1525
On Nov 20, 6:28 am, "-Lost" <maventheextrawo...@techie.comwrote:
This was in a 9 Rules feed that I just noticed today. Might be of some
use. Developed in PHP, but I'm sure it could easily be ported.

http://www.thepcspy.com/read/autopac...our_javascript

Dean Edward's packer is based on RegExp analysis and it is quite easy
to trick in edge cases. That was my experience anyway.

Peter
Nov 20 '07 #2
Response to Peter Michaux <pe**********@gmail.com>:
Dean Edward's packer is based on RegExp analysis and it is quite
easy to trick in edge cases. That was my experience anyway.
I was completely unaware.

What's the chance of seeing an automated solution using your
javascript::Minifier?

I've not a clue as to how to modify your module to do that unless a PHP
script calling a Perl script could be considered elegant.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Nov 21 '07 #3
On Nov 21, 4:11 am, "-Lost" <maventheextrawo...@techie.comwrote:
Response to Peter Michaux <petermich...@gmail.com>:
Dean Edward's packer is based on RegExp analysis and it is quite
easy to trick in edge cases. That was my experience anyway.

I was completely unaware.
I must be sufficient for many people because it is popular.

What's the chance of seeing an automated solution using your
javascript::Minifier?
I won't be supplying this. The hard part is the logic inside the
javascript::Minifier program. There are many ways to package it for
use and every developer probably needs a different system.

I can't guarantee that javascript::Minifier is perfect.

I've not a clue as to how to modify your module to do that unless a PHP
script calling a Perl script could be considered elegant.
I don't think it would be a problem.

A minifier should only be called infrequently (preferably when the
site is deployed to the server).

Peter
Nov 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: usman | last post by:
Is there any text compression algorithm exists in javascript? wanna to compress the large textual data before submitting the form. Thanks Usman *** Sent via Developersdex...
1
by: Hardy | last post by:
Hi, just come into the boost world. just the first.cpp in the program_options examples, with many link error... devc++4.9.9.2, gcc 3.4.2, can I get your opinions on this problem? thank you~ ...
2
by: sravi | last post by:
I have a webpage which contains two frames, let us call this as main page and the frames as frame1 and frame2. Now if i click any link in frame1 or frame2 a script in main page should be invoked....
8
by: vnarayana | last post by:
Need to transfer large data (Appox 5MB in the form of XML & HTML) from Internet Explorer to Web sphere application server. Want to know if there is anyway I can compress data (JavaScript or...
6
by: Chetan Patil | last post by:
I would like to obfuscate and compress (remove comments, newlines etc) my javascript files / ajax code. Is there a module that will do this on the fly with some level of caching? Does such a...
20
by: twigster | last post by:
Hey everyone, I'm looking for a good way to obfuscate some Javascript code. Does anyone have a good experience or bad experience with a particular software? thanks
4
by: Killer42 | last post by:
Hi all. Sorry, I'm being very lazy on this one, but am short of time for researching etc right now. I'd just like to know, does the IJL11.DLL JPEG library support varying levels of compression?...
61
by: shapper | last post by:
Hello, I would like to use a javascript library to simplify my coding process. I know a few: JQuery, Dojo, Yahoo UI, ... Which one do you advice me to use? Thanks, Miguel
1
by: Pierre | last post by:
hi, is there somewhere an implementation of some compression algorithm zip/ gzip/other ? Pierre
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.